package com.example.demo.entity;

import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author Fyly
 * @since 2019-05-22
 */
public class Praiselist implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 被赞人id
     */
    @TableField("userId")
    private Integer userId;
    /**
     * 赞的人id
     */
    @TableField("praiseId")
    private Integer praiseId;
    /**
     * 商品id
     */
    @TableField("goodsId")
    private Integer goodsId;
    /**
     * 赞的人头像
     */
    @TableField("praiseAvterUrl")
    private String praiseAvterUrl;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getPraiseId() {
        return praiseId;
    }

    public void setPraiseId(Integer praiseId) {
        this.praiseId = praiseId;
    }

    public Integer getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(Integer goodsId) {
        this.goodsId = goodsId;
    }

    public String getPraiseAvterUrl() {
        return praiseAvterUrl;
    }

    public void setPraiseAvterUrl(String praiseAvterUrl) {
        this.praiseAvterUrl = praiseAvterUrl;
    }

    @Override
    public String toString() {
        return "Praiselist{" +
        "id=" + id +
        ", userId=" + userId +
        ", praiseId=" + praiseId +
        ", goodsId=" + goodsId +
        ", praiseAvterUrl=" + praiseAvterUrl +
        "}";
    }
}
